Core Motion Monitor Classes
-
An
See moreAccelerometerMonitorinstance monitors the device’s accelerometer for periodic raw measurements of the acceleration along the three spatial axes.Declaration
Swift
public class AccelerometerMonitor : BaseMonitor
-
An
See moreAltimeterMonitorinstance monitors the device for changes in relative altitude.Declaration
Swift
public class AltimeterMonitor : BaseMonitor
-
A
See moreDeviceMotionMonitorinstance monitors the device’s accelerometer, gyroscope, and magnetometer for periodic raw measurements which are processed into device motion measurements.Declaration
Swift
public class DeviceMotionMonitor : BaseMonitor
-
A
See moreGyroscopeMonitorinstance monitors the device’s gyroscope for periodic raw measurements of the rotation rate around the three spatial axes.Declaration
Swift
public class GyroscopeMonitor : BaseMonitor
-
A
See moreMagnetometerMonitorinstance monitors the device’s magnetometer for periodic raw measurements of the magnetic field around the three spatial axes.Declaration
Swift
public class MagnetometerMonitor : BaseMonitor
-
A
See moreMotionActivityMonitorinstance monitors the device for live and historic motion data. Motion data reflects whether the user is walking, running, in a vehicle, or stationary for periods of time.Declaration
Swift
public class MotionActivityMonitor : BaseMonitor
-
A
See morePedometerMonitorinstance monitors the device for live and historic walking data. You can retrieve step counts and other information about the distance traveled and the number of floors ascended or descended.Declaration
Swift
public class PedometerMonitor : BaseMonitor
View on GitHub
Install in Dash
Core Motion Monitor Classes Reference